/**
 * Created by FreezeSoul on 2016/4/7.
 */
define([
        'jquery',
        'underscore'
    ],
    function ($, _) {
        return {
            appSerial: "freezesoul@gmail.com",
            appVersion: window.version,
            enableCached: true,
            dataProxyType: 'PULL',
            baseServiceUrl: 'http://127.0.0.1:8080/',
            perPageRowSize: 20,
            rootFolderId: -1, //根文件夹ID
            schemaFolderType: 1, //模型文件夹类型
            chartFolderType: 2, //指标文件夹类型
            pageFolderType: 3, //页面文件夹类型
            resourceTypePage: 1, //资源类型页面
            resourceTypeChart: 2, //资源类型指标
            userRoleTypes: [
                {value: 0, text: '配置人员'},
                {value: 1, text: '操作人员'}
            ],
            schemaDataTypes: [
                {value: 'int', text: '数值类型'},
                {value: 'string', text: '文本类型'},
                {value: 'time', text: '时间类型'}
            ],
            schemaAnalysisTypes: [
                {value: 'dimension', text: '维度列'},
                {value: 'measure', text: '度量列'}
            ],
            dataServiceTypes: [
                {value: 'database', text: '关系数据库'},
                {value: 'service', text: '接口服务'},
                {value: 'excel', text: 'EXCEL'}
            ],
            dataSourceTypes: [
                {value: 1, text: 'MySql数据库'},
                {value: 2, text: 'Postgresql数据库'}
            ],
            sqlParamTypes: [
                { value: 'string', text: '文本类型' },
                { value: 'int', text: '数值类型' },
                { value: 'time', text: '时间类型' }
            ],
            colorArray: [
                '#FE8463', '#9BCA63', '#FAD860', '#60C0DD', '#0084C6',
                '#D7504B', '#C6E579', '#26C0C0', '#F0805A', '#F4E001',
                '#B5C334'
            ],
            layoutTypes: [
                {value: 'grid', text: '网格布局'},
                {value: 'free', text: '自由布局'}
            ]
        }
    });